const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  chainWebpack: config =>{
    config.plugin('html').tap(args => {
        args[0].title = '京东JD.COM官网 多快好省 只为品质生活';
        return args;
    })
  },
  devServer: {
    proxy: {
      '/api': {
        target: 'http://jds.flycran.xyz/'
      },
      '/image': {
        target: 'http://jds.flycran.xyz/'
      }
    }
  }
})
